x86/hvm: always re-emulate I/O from a buffer
authorPaul Durrant <paul.durrant@citrix.com>
Thu, 9 Jul 2015 17:16:00 +0000 (19:16 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 10 Jul 2015 08:20:59 +0000 (10:20 +0200)
commita9320fef57c74f83e7bdd8bcaa94da7aa64deac5
treec310733abf4ba69bf101a013e7a41c24a86da40d
parent763c8a8db2ecfc32c951bee0cff15b723a41bbfd
x86/hvm: always re-emulate I/O from a buffer

If memory mapped I/O is 'chunked' then the I/O must be re-emulated,
otherwise only the first chunk will be processed. This patch makes
sure all I/O from a buffer is re-emulated regardless of whether it
is a read or a write.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/hvm/emulate.c
xen/include/asm-x86/hvm/vcpu.h